Fitness data can be retrieved stored and retrieved many ways including with , , or on a raw data file. Import the data:
In[10]:=
stepcounts=ResourceData,"DailyStepCount"
Out[10]=
TimeSeries
Plot steps per day as a function of time:
In[42]:=
DateListPlot[stepcounts]
Out[42]=
Make a histogram of the results:
In[43]:=
Histogram[stepcounts]
Out[43]=
Plot the weekly moving average. It looks as if there was at least a slight upward trend:
In[44]:=
DateListPlotMovingAveragestepcounts,
Out[44]=